package com.geovis.emergency.spd.entity.pc.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * <p>
 *
 * </p>
 *
 * @author Lonsho
 * @version 1.0
 * @date 2022/7/7
 */
@Data
@ApiModel(value="PcDrillPlanDetailVO对象", description="应急预案指挥模块-演练方案详情提交DTO")
public class PcDrillPlanDetailDTO {

    @ApiModelProperty(value = "方案详情id")
    private String id;

    @ApiModelProperty(value = "方案内容")
    @NotEmpty(message = "方案内容 不能为空")
    @Length(max = 1000,message = "方案内容不能超过1000个字符")
    private String content;

    @ApiModelProperty(value = "责任人ID")
    @NotEmpty(message = "责任人ID 不能为空")
    private String principalId;

    @ApiModelProperty(value = "责任人名称")
    @NotEmpty(message = "责任人名称 不能为空")
    private String principalName;
}
